SRC=$(wildcard *.c)
BIN=processbar
OBJ=$(SRC:.c=.o)
$(BIN):$(OBJ)
	@gcc $^ -o $@
	@echo "Linking .o to .exe"
%.o:%.c
	@gcc -c $< -g -std=c99
	@echo "Tranfer .c to .o"

RET=$<

.PHONY:clear
clear:
	@rm -f $(BIN) $(OBJ)
	@echo "Clear the file"

.PHONY:test
test:
